Skip to main content
Feedback

Setting up the runtime cloud's Windows service

By setting up the runtime cluster's Clouds Windows service, you can continuously run processes in the background without manual user intervention on the platform.

Before you begin

Before completing these steps, install the initial runtime cloud cluster.

Procedure

  1. After installing the runtime cloud's first runtime cloud cluster, go to Control Panel > Administrative Tools > Services.

  2. Right-click the Cloud service and select Properties.

  3. Click the Log On tab. By default the service logs on as the local system account.

  4. Change the service to log on as an account with access to the shared directory.

  5. If you are a service user and not a local administrator of the machine, then you need to grant the user permission to start and stop the service. See the following articles on Windows Service Security:

  6. Get the security identifier (SID) of the Windows user to whom you want to grant access; typically this is in the form of: S-1-5-21-XXXX-XXXX-XXXX-XXXX

  7. Get the Service DACL of the Cloud service on a particular machine. Run the following command, replacing "Cloud Service Name" with the name of the service installed on your machine: sc sdshow "Cloud Service Name" The result is a long Service DACL string: (The following is an example only.)

    D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRCWP;;;SU)(A;;CR;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
  8. Add the following string to the DACL using the SID. Insert this before the S: at the end of the DACL: (A;;CCLCRPWPRC;;; S-1-5-21-XXXX-XXXX-XXXX-XXXX) This change grants stop and starting capabilities to this specific user on this specific machine. The new DACL will look like this. (The following is an example only.)

    D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRCWP;;;SU)(A;;CR;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)(A;;CCLCRPWPRC;;; S-1-5-21-XXXX-XXXX-XXXX-XXXX)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
  9. To set the new DACL, run the following command, ensuring that you replace the appropriate variables. Use the DACL from your machine, not the one provided here. Remember to remove newlines.

    sc sdset "Cloud Service Name" "D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRCWP;;;SU)(A;;CR;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)(A;;CCLCRPWPRC;;; S-1-5-21-XXXX-XXXX-XXXX-XXXX)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)"
  10. Start the service.

Results

You can view the runtime cloud's runtime cloud cluster online by going to the Manage menu and selecting Runtime Management.

Next steps

Next, you can install additional runtime cloud clusters.

On this Page